﻿namespace RestaurantCommon
{
    public class PhcSaleItem
    {
        private readonly string _reference;
        private readonly string _productName;
        private readonly string _family;
        private readonly decimal _quantity;
        private readonly decimal _vatPercentage;
        private readonly short _isService;
        private readonly decimal _price;

        public PhcSaleItem(string reference, string productName, string family, decimal quantity, decimal vatPercentage, short isService, decimal price)
        {
            _reference = reference;
            _productName = productName;
            _family = family;
            _quantity = quantity;
            _vatPercentage = vatPercentage;
            _isService = isService;
            _price = price;            
        }

        public string Reference { get { return _reference; } }
        public string ProductName { get { return _productName; } }
        public string Family { get { return _family; } }
        public decimal Quantity { get { return _quantity; } }
        public decimal VatPercentage { get { return _vatPercentage; } }
        public short IsService { get { return _isService; } }
        public decimal Price { get { return _price; } }
    }
}
